home *** CD-ROM | disk | FTP | other *** search
- /* ProjectAlias.h: ProjectorDB alias management routines for ProjectDrag
- *
- * A set of applets for drag and drop source control by Tim Maroney.
- * See develop, issue 23 for details.
- *
- * Built on DropShell by Leonard Rosenthol, Stephan Somogyi, and Marshall Clow,
- * and using the MoreFiles utilities by Jim Luther.
- *
- * This software is free, but don't modify and redistribute it without
- * changing the status window to indicate your name and your changes!
- */
-
- #ifndef __PROJECTALIAS__
- #define __PROJECTALIAS__
-
- #include <Types.h>
- #include <Aliases.h>
- #include <Files.h>
- #include <StandardFile.h>
-
- #include "PDUtilities.h"
-
- OSErr MakeProjectAlias(short vRefNum, long folderID, AliasHandle *aliasOut);
- OSErr FindProjectAliasFromCKID(CKIDHandle theCKID, AliasHandle *aliasOut, StringPtr projectName);
- OSErr FindProjectAliasFromFolder(short vRefNum, long folderID, AliasHandle *aliasOut, StringPtr projectName);
- OSErr MountProjectAlias(AliasHandle alias, CStringHandle *output, CStringHandle *diagnostic);
- Boolean SelectProjectorDB(FSSpec *file, short strListID, short strIndex,
- FileFilterYDProcPtr filter, void *dataPtr);
- OSErr AddNameMapping(StringPtr folderName, StringPtr projectName);
- void GetTopProjectName(StringPtr projectName, StringPtr topProjectName);
-
- #endif
-